package com.qianji.petmall.order.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qianji.petmall.order.entity.OrderEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单
 * 
 * @author xiaoxin
 * @email 485350978@qq.com
 * @date 2022-01-07 15:24:17
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {

    IPage<List<OrderEntity>> selectUserItem(IPage<OrderEntity> page, @Param("id") Long id);
}
